<!--封面头部-->
<pageheader
        name="fengmian"
        line="on"
/>
<!--目录头部-->
<pageheader
        name="menu"
        content-left=""
        content-center="{{ title }}-目录"
        content-right=""
        header-style="font-family:sans-serif; font-size:14pt; font-weight:bold; color:#880000;"
        header-style-right="font-size:8pt;color:#088000;"
        line="on"
/>

<pageheader
        name="pageHeader"
        content-left="{{ title }}"
        content-center=""
        content-right=""
        header-style="font-family:sans-serif; font-size:8pt; color:#000; margin-bottom:100px;"
        header-style-left="font-size:16pt; font-weight:bold; color:#999; "
        line="on"
/>

<pagefooter
        name="pageFooter"
        content-left="本文档由 PDF 生成"
        content-center=""
        content-right="- {PAGENO} -"
        footer-style="font-family:sans-serif; font-size:10pt; font-weight:bold; color:#000;"
        footer-style-left=""
        line="on"
/>
<setpageheader name="fengmian"/>
<h2 style="margin-collapse: none; margin-top: 35mm;background:rgb(68,174,56);padding:40px 40px;color:#fff;font-size:40px;">{{ title }}</h2>
<p style="margin-top:25mm;font-size:20px;font-family:sans-serif;">作者 : 陈成彬</p>
<p style="font-size:20px;font-family:sans-serif;">来源 : 自撰</p>
<p style="font-size:20px;font-family:sans-serif;">平台 : blog.mirchen.com</p>
<p style="margin-collapse: none;margin-top:145mm;padding:10px;font-size:20px;background:rgb(68,174,56);color:#fff;font-family:sans-serif;">
    本书由<a href="">PDF</a>自动生成</p>
<tocpagebreak
        font="mono"
        font-size="12"
        paging="on"
        links="on"
        suppress="off"
        toc-preHTML=""
        toc-bookmarkText="分类目录"
        odd-header-name="pageHeader"
        odd-header-value="1"
        even-header-name="pageHeader"
        even-header-value="1"
        odd-footer-name="pageFooter"
        odd-footer-value="1"
        even-footer-name="pageFooter"
        even-footer-value="1"
        toc-odd-header-name="menu"
        toc-odd-header-value="1"
        toc-even-header-name="menu"
        toc-even-header-value="1"
        toc-odd-footer-name=""
        toc-odd-footer-value="-1"
        toc-even-footer-name=""
        toc-even-footer-value="-1"
/>

{% for k,v in list %}
    {% if k !== 0 %}
        <pagebreak type="NEXT-ODD"/>
    {% endif %}
    <div>
        <div class="markdown-body markdown-body editormd-preview-container">
            <h1 style="margin-collapse: none; margin-top: 10mm;">{{ v['title'] }}
                <tocentry content="{{ v['title'] }}"/>
            </h1>
            <p style="font-size:12px;">{{ v['content'] }}</p>
        </div>
    </div>
{% endfor %}
